package com.wyl.netty;

import com.wyl.netty.listener.ApplicationListenerReadyEvent;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author: wyl
 * @date: 2021/7/13
 * @des:
 */
@SpringBootApplication
public class ServerApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(ServerApplication.class);
        application.addListeners(new ApplicationListenerReadyEvent());
        application.run(args);
    }
}
